package com.entity;

import java.util.Date;

import org.apache.ibatis.type.Alias;

/*
 * 新闻栏目表
 */
@Alias("News")
public class News extends BaseEntity{
	private static final long serialVersionUID = 1L;
	
	  public String NewsId;//#编号
	  public String ColumnName;//#栏目名称
	  public String ImageInfo;//#图片信息 
	  public String ColumnCover;//#栏目封面
	  public String ColumnId;//一级栏目Id
	  public Date CreationTime;//#创建时间
	  public String AttachmentId;//虚拟字段附件id
	  public String UrlLink;//#url链接
	public News(String newsId, String columnName, String imageInfo,
			String columnCover, Date creationTime, String urlLink) {
		super();
		NewsId = newsId;
		ColumnName = columnName;
		ImageInfo = imageInfo;
		ColumnCover = columnCover;
		CreationTime = creationTime;
		UrlLink = urlLink;
	}
	public News() {
		super();
		// TODO Auto-generated constructor stub
	}
	public String getNewsId() {
		return NewsId;
	}
	public void setNewsId(String newsId) {
		NewsId = newsId;
	}
	public String getColumnName() {
		return ColumnName;
	}
	public void setColumnName(String columnName) {
		ColumnName = columnName;
	}
	public String getImageInfo() {
		return ImageInfo;
	}
	public void setImageInfo(String imageInfo) {
		ImageInfo = imageInfo;
	}
	public String getColumnCover() {
		return ColumnCover;
	}
	public void setColumnCover(String columnCover) {
		ColumnCover = columnCover;
	}
	public Date getCreationTime() {
		return CreationTime;
	}
	public void setCreationTime(Date creationTime) {
		CreationTime = creationTime;
	}
	public String getUrlLink() {
		return UrlLink;
	}
	public void setUrlLink(String urlLink) {
		UrlLink = urlLink;
	}
	
	public String getColumnId() {
		return ColumnId;
	}
	public void setColumnId(String columnId) {
		ColumnId = columnId;
	}
	
	public String getAttachmentId() {
		return AttachmentId;
	}
	public void setAttachmentId(String attachmentId) {
		AttachmentId = attachmentId;
	}
	@Override
	public String toString() {
		return "News [NewsId=" + NewsId + ", ColumnName=" + ColumnName
				+ ", ImageInfo=" + ImageInfo + ", ColumnCover=" + ColumnCover
				+ ", CreationTime=" + CreationTime + ", UrlLink=" + UrlLink
				+ "]";
	}
	
	

	
}
